PXC Documentation

PXC Home

Sampler

pre 1.18

Sample color from an image.



Node Data

ColorArray

Display name

Sampler

Internal name

Node_Sampler

Inheritances

node
node_processor
node_sampler

Inputs

node_sampler

surface

Surface In

vec2

Position

int

Sampling Size

bool

Alpha

Outputs

node_sampler

color

Color

Sampler take a position and a surface and return a color at the given position.

Increasing Sampling Size will sample the larger area and returns the average.